<form action="index.php?c=zy_materials_from_list&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">	
<table width="90%" name="tab_form" id="tab_form" class="tab_form" align="left" border="0" cellpadding="0" cellspacing="1">
<tbody>
<tr>
	<td width="20%" class="tab_bold">物资名称</td>
	<td><input type=text name="materials_name" size=30 value='{%$materials_name%}' dataType="Require"></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">规格型号</td>
	<td><input type=text name="specification" size=30 value='{%$specification%}' dataType="Require"></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">数量</td>
	<td><input type=text name="number" size=30 value='{%$number%}'dataType="Number" ></td> 

</tr>
<tr>
	<td width="20%" class="tab_bold">单价</td>
	<td><input type=text name="price" size=30 value='{%$price%}' dataType="Currency"></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">支付方式</td>
	<td>
	<select name="pay_type">
	{%html_options options=$pay_type_arr selected=$pay_type%}
	</select>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">单位</td>
	<td><input type=text name="m_unit" size=30 value='{%$m_unit%}'></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">合同号</td>
	<td><input type=text name="contract_no" size=30 value='{%$contract_no%}' dataType="Require"></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">运输方式</td>
	<td>
	<select name="type_id">
	{%html_options options=$transport_type_arr selected=$type_id%}
	</select>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">项目</td>
	<td>
	<select name="project_id">
	{%html_options options=$project_arr selected=$project_id%}
	</select>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">备注</td>
	<td>
	<textarea cols="70" rows="4" id="info" name="info" >{%$info%}</textarea>
	</td>
</tr>

<tr>
	<td colspan=4 align=center>
		<input type="hidden" name="materials_from_id" size=30 value='{%$materials_from_id%}'>
		<input type=hidden name='list_id' id='list_id' value='{%$list_id%}'>
		<input type=submit value="提交" class="btn_form">&nbsp;&nbsp;
		<input type=reset value="重置" class="btn_form">
	</td>
</tr>
</tbody>
</table>
</form>